﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

/// <summary>
/// Summary description for BL_Invoice
/// </summary>
public class BL_Invoice
{
    DA_Invoice objInvoice;
    public BL_Invoice()
    {
        //
        // TODO: Add constructor logic here
        //
        objInvoice = new DA_Invoice();
    }

    public List<PLInvoice> BL_fnGetInvoiceTransactions(PLInvoice pObjInvoice)
    {
        return objInvoice.DA_fnGetInvoiceTransactions(pObjInvoice);
    }

    public List<PLContract> BL_fnGetInvoiceContractDetails(PLContract pObjContract)
    {
        return objInvoice.DA_fnGetInvoiceTransactions(pObjContract);
    }

    public PLInvoice BL_fnGetSingleInvoiceTransactions(PLInvoice pObjInvoice)
    {
        return objInvoice.DA_fnGetSingleInvoiceTransactions(pObjInvoice);
    }


    public List<PLClient> BL_GetPendingClients(PLContract pObjContract)
    {
        return objInvoice.DA_GetPendingClients(pObjContract);
    }

    public List<PLContract> BL_GetPendingContracts(PLContract pObjContract)
    {
        return objInvoice.DA_GetPendingContracts(pObjContract);
    }

    public List<PLContract> BL_GetTrnContract(PLContract pObjContract)
    {
        return objInvoice.DA_GetTrnContract(pObjContract);
    }


    public List<PLContract> BL_GetPendingTrnContracts(PLContract pObjContract)
    {
        return objInvoice.DA_GetPendingTrnContracts(pObjContract);
    }

    public PLContract BL_GetPendingTrnContractsDetails(PLContract pObjContract)
    {
        return objInvoice.DA_GetPendingTrnContractsDetails(pObjContract);
    }

    public PLContract BL_GetTrnContractsDetails_Editing(PLContract pObjContract)
    {
        return objInvoice.DA_GetTrnContractsDetails_Editing(pObjContract);
    }
     
    public int BL_InsertUpdateInvoiceTransactions(PLInvoice pObjInvoice)
    {
        return objInvoice.DA_InsertUpdateInvoiceTransactions(pObjInvoice);
    }

    public PLInvoice BL_ContractFilePath(PLInvoice pObjInvoice)
    {
        return objInvoice.DA_ContractFilePath(pObjInvoice);
    }

    public void BL_DeleteInvoice(PLInvoice pObjInvoice)
    {
        objInvoice.DA_DeleteInvoice(pObjInvoice);
    }

    public MstServiceTax BL_GetServiceTaxPer(PLInvoice pObjInvoice)
    {
        return objInvoice.DA_GetServiceTaxPer(pObjInvoice);
    }


    public List<PLInvoice> BL_fnGetInvoiceReport(PLInvoice pObjInvoice)
    {
        return objInvoice.DA_fnGetInvoiceReport(pObjInvoice);
    }

    public List<PLInvoice> BL_fnGetReceivableReport(PLInvoice pObjInvoice)
    {
        return objInvoice.DA_fnGetReceivableReport(pObjInvoice);
    }
}